package com.clgk.wechatmall.partner.bean;

import java.io.Serializable;

import com.clgk.wechatmall.common.sql.annocation.ID;
import com.clgk.wechatmall.common.sql.annocation.Table;
import com.clgk.wechatmall.common.sql.annocation.Temporal;
import com.clgk.wechatmall.common.sql.annocation.Transient;
import com.clgk.wechatmall.manager.entity.ManagerVo;

/**
 * 合作伙伴
 * @author Wu
 *
 */
@Table("T_PARTNER")
public class PartnerBean implements Serializable {

	@Transient
	private static final long serialVersionUID = 135384623671378134L;
	@ID
	private Long id;//主键ID 
	private Integer type;//类型：1、省，2、市，3、区
	private String partnername;//名称  
	private Long cityid;
	@Transient
	private String cityname;
	
	private Long parentid   ;//父类ID
	private Long managerid;//添加人
	private String remark;//备注
	@Temporal
	private String updatetime ;//
	
	@Transient
	private ManagerVo managerVo;//管理员账号
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getPartnername() {
		return partnername;
	}
	public void setPartnername(String partnername) {
		this.partnername = partnername;
	}
	public Long getParentid() {
		return parentid;
	}
	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}
	public String getUpdatetime() {
		return updatetime;
	}
	public void setUpdatetime(String updatetime) {
		this.updatetime = updatetime;
	}
	public Integer getType() {
		return type;
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public Long getManagerid() {
		return managerid;
	}
	public void setManagerid(Long managerid) {
		this.managerid = managerid;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Long getCityid() {
		return cityid;
	}
	public void setCityid(Long cityid) {
		this.cityid = cityid;
	}
	public String getCityname() {
		return cityname;
	}
	public void setCityname(String cityname) {
		this.cityname = cityname;
	}
	public ManagerVo getManagerVo() {
		return managerVo;
	}
	public void setManagerVo(ManagerVo managerVo) {
		this.managerVo = managerVo;
	}

}
